<!doctype html>
<html lang="en">
<head>
    <title>Code coverage report for mixins/crud.js</title>
    <meta charset="utf-8" />
    <link rel="stylesheet" href="../prettify.css" />
    <link rel="stylesheet" href="../base.css" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style type='text/css'>
        .coverage-summary .sorter {
            background-image: url(../sort-arrow-sprite.png);
        }
    </style>
</head>
<body>
<div class='wrapper'>
  <div class='pad1'>
    <h1>
      <a href="../index.html">all files</a> / <a href="index.html">mixins/</a> crud.js
    </h1>
    <div class='clearfix'>
      <div class='fl pad1y space-right2'>
        <span class="strong">56.86% </span>
        <span class="quiet">Statements</span>
        <span class='fraction'>58/102</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">26.19% </span>
        <span class="quiet">Branches</span>
        <span class='fraction'>11/42</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">37.93% </span>
        <span class="quiet">Functions</span>
        <span class='fraction'>11/29</span>
      </div>
      <div class='fl pad1y space-right2'>
        <span class="strong">59.78% </span>
        <span class="quiet">Lines</span>
        <span class='fraction'>55/92</span>
      </div>
    </div>
  </div>
  <div class='status-line medium'></div>
<pre><table class="coverage">
<tr><td class="line-count quiet">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228</td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">2×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-no">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-yes">9×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">13×</span>
<span class="cline-any cline-neutral">&nbsp;</span>
<span class="cline-any cline-yes">1×</span>
<span class="cline-any cline-neutral">&nbsp;</span></td><td class="text"><pre class="prettyprint lang-js">'use strict';
&nbsp;
exports.__esModule = true;
&nbsp;
exports.default = function () {
  return {
    props: {
      option: {
        type: Object,
        required: true,
        default: <span class="fstat-no" title="function not covered" >function _default() {</span>}
      }
    },
    components: {
      crudInput: _crudInput2.default,
      crudSelect: _crudSelect2.default,
      crudRadio: _crudRadio2.default,
      crudCheckbox: _crudCheckbox2.default,
      crudDate: _crudDate2.default,
      crudTime: _crudTime2.default,
      crudCascader: _crudCascader2.default,
      crudInputNumber: _crudInputNumber2.default,
      crudUeditor: _crudUeditor2.default,
      crudSwitch: _crudSwitch2.default,
      crudRate: _crudRate2.default,
      crudUpload: _crudUpload2.default,
      crudSilder: _crudSilder2.default
    },
    watch: {
      tableForm: {
        handler: <span class="fstat-no" title="function not covered" >function handler(n) {</span>
<span class="cstat-no" title="statement not covered" >          t</span>his.$emit('input', n);
        },
&nbsp;
        deep: true
      },
      value: {
        handler: <span class="fstat-no" title="function not covered" >function handler() {</span>
<span class="cstat-no" title="statement not covered" >          t</span>his.formVal();
        },
&nbsp;
        deep: true
      },
      option: {
        handler: <span class="fstat-no" title="function not covered" >function handler() {</span>
<span class="cstat-no" title="statement not covered" >          t</span>his.init();
        },
&nbsp;
        deep: true
      }
    },
    data: function data() {
      return {
        DIC: {},
        dicList: [],
        dicCascaderList: []
      };
    },
    created: function created() {
      this.init();
    },
&nbsp;
    methods: {
      init: function init() {
        // 初始化工具
        this.initFun();
        // 规则初始化
        this.rulesInit();
        // 初始化字典
        this.dicInit();
        // 初始化表单formInitVal
        this.formInit();
      },
      dicInit: function dicInit() {
        var _this = this;
&nbsp;
        this.option.column.forEach(<span class="fstat-no" title="function not covered" >function (ele) {</span>
<span class="cstat-no" title="statement not covered" >          if (!(0, _validate.validatenull)(ele.dicUrl) &amp;&amp; _this.vaildData(ele.dicFlag, true)) {</span>
<span class="cstat-no" title="statement not covered" >            _</span>this.dicCascaderList.push({
              dicUrl: ele.dicUrl,
              dicData: ele.dicData
            });
          } else <span class="cstat-no" title="statement not covered" >if (!(0, _validate.validatenull)(ele.dicData) &amp;&amp; typeof ele.dicData === 'string') {</span>
<span class="cstat-no" title="statement not covered" >            _</span>this.dicList.push(ele.dicData);
          }
        });
        this.GetDic().then(<span class="fstat-no" title="function not covered" >function (data) {</span>
<span class="cstat-no" title="statement not covered" >          _</span>this.DIC = data;
        });
      },
      vaildData: <span class="fstat-no" title="function not covered" >function vaildData(val, dafult) {</span>
<span class="cstat-no" title="statement not covered" >        if (typeof val === 'boolean') {</span>
<span class="cstat-no" title="statement not covered" >          r</span>eturn val;
        }
<span class="cstat-no" title="statement not covered" >        r</span>eturn !(0, _validate.validatenull)(val) ? val : dafult;
      },
      GetDicByType: <span class="fstat-no" title="function not covered" >function GetDicByType(href) {</span>
<span class="cstat-no" title="statement not covered" >        v</span>ar _this2 = this;
&nbsp;
<span class="cstat-no" title="statement not covered" >        r</span>eturn new Promise(<span class="fstat-no" title="function not covered" >function (resolve) {</span>
<span class="cstat-no" title="statement not covered" >          _</span>this2.$http.get(href).then(<span class="fstat-no" title="function not covered" >function (res) {</span>
            // 降级处理
<span class="cstat-no" title="statement not covered" >            v</span>ar list = res.data;
<span class="cstat-no" title="statement not covered" >            if (!(0, _validate.validatenull)(list.data)) {</span>
<span class="cstat-no" title="statement not covered" >              r</span>esolve(list.data instanceof Array ? list.data : []);
            } else <span class="cstat-no" title="statement not covered" >if (!(0, _validate.validatenull)(list)) {</span>
<span class="cstat-no" title="statement not covered" >              r</span>esolve(list instanceof Array ? list : []);
            } else {
<span class="cstat-no" title="statement not covered" >              r</span>esolve([]);
            }
          });
        });
      },
      GetDic: function GetDic() {
        var _this3 = this;
&nbsp;
        return new Promise(function (resolve) {
          var result = [];
          var dicData = {};
          var locaDic = _this3.option.dicData || [];
          var list = _this3.dicList;
          var cascaderList = _this3.dicCascaderList;
          <span class="missing-if-branch" title="else path not taken" >E</span>if ((0, _validate.validatenull)(list) &amp;&amp; (0, _validate.validatenull)(cascaderList)) {
            return;
          }
<span class="cstat-no" title="statement not covered" >          l</span>ist.forEach(<span class="fstat-no" title="function not covered" >function (ele) {</span>
<span class="cstat-no" title="statement not covered" >            r</span>esult.push(new Promise(<span class="fstat-no" title="function not covered" >function (resolve) {</span>
<span class="cstat-no" title="statement not covered" >              if ((0, _validate.validatenull)(_this3.option.dicUrl)) {</span>
<span class="cstat-no" title="statement not covered" >                r</span>esolve(locaDic[ele]);
              } else {
<span class="cstat-no" title="statement not covered" >                _</span>this3.GetDicByType('' + _this3.option.dicUrl.replace('{{key}}', ele)).then(<span class="fstat-no" title="function not covered" >function (res) {</span>
<span class="cstat-no" title="statement not covered" >                  r</span>esolve(res);
                });
              }
            }));
          });
<span class="cstat-no" title="statement not covered" >          c</span>ascaderList.forEach(<span class="fstat-no" title="function not covered" >function (ele) {</span>
<span class="cstat-no" title="statement not covered" >            r</span>esult.push(new Promise(<span class="fstat-no" title="function not covered" >function (resolve) {</span>
<span class="cstat-no" title="statement not covered" >              _</span>this3.GetDicByType('' + ele.dicUrl.replace('{{key}}', ele)).then(<span class="fstat-no" title="function not covered" >function (res) {</span>
<span class="cstat-no" title="statement not covered" >                l</span>ist.push(ele.dicData);
<span class="cstat-no" title="statement not covered" >                r</span>esolve(res);
              });
            }));
          });
<span class="cstat-no" title="statement not covered" >          P</span>romise.all(result).then(<span class="fstat-no" title="function not covered" >function (data) {</span>
<span class="cstat-no" title="statement not covered" >            l</span>ist.forEach(<span class="fstat-no" title="function not covered" >function (ele, index) {</span>
<span class="cstat-no" title="statement not covered" >              d</span>icData[ele] = data[index];
            });
<span class="cstat-no" title="statement not covered" >            if ((0, _validate.validatenull)(_this3.option.dicUrl)) {</span>
<span class="cstat-no" title="statement not covered" >              d</span>icData = Object.assign({}, dicData, locaDic);
            }
<span class="cstat-no" title="statement not covered" >            r</span>esolve(dicData);
          });
        });
      },
      initFun: function initFun() {
        var _this4 = this;
&nbsp;
        Object.keys(utils).forEach(function (key) {
          _this4[key] = utils[key];
        });
      }
    }
  };
};
&nbsp;
var _util = require('../utils/util.js');
&nbsp;
var utils = _interopRequireWildcard(_util);
&nbsp;
var _validate = require('../utils/validate.js');
&nbsp;
var _crudInput = require('../crud/src/crud-input');
&nbsp;
var _crudInput2 = _interopRequireDefault(_crudInput);
&nbsp;
var _crudSelect = require('../crud/src/crud-select');
&nbsp;
var _crudSelect2 = _interopRequireDefault(_crudSelect);
&nbsp;
var _crudRadio = require('../crud/src/crud-radio');
&nbsp;
var _crudRadio2 = _interopRequireDefault(_crudRadio);
&nbsp;
var _crudCheckbox = require('../crud/src/crud-checkbox');
&nbsp;
var _crudCheckbox2 = _interopRequireDefault(_crudCheckbox);
&nbsp;
var _crudCascader = require('../crud/src/crud-cascader');
&nbsp;
var _crudCascader2 = _interopRequireDefault(_crudCascader);
&nbsp;
var _crudDate = require('../crud/src/crud-date');
&nbsp;
var _crudDate2 = _interopRequireDefault(_crudDate);
&nbsp;
var _crudTime = require('../crud/src/crud-time');
&nbsp;
var _crudTime2 = _interopRequireDefault(_crudTime);
&nbsp;
var _crudInputNumber = require('../crud/src/crud-input-number');
&nbsp;
var _crudInputNumber2 = _interopRequireDefault(_crudInputNumber);
&nbsp;
var _crudUeditor = require('../crud/src/crud-ueditor');
&nbsp;
var _crudUeditor2 = _interopRequireDefault(_crudUeditor);
&nbsp;
var _crudSwitch = require('../crud/src/crud-switch');
&nbsp;
var _crudSwitch2 = _interopRequireDefault(_crudSwitch);
&nbsp;
var _crudRate = require('../crud/src/crud-rate');
&nbsp;
var _crudRate2 = _interopRequireDefault(_crudRate);
&nbsp;
var _crudUpload = require('../crud/src/crud-upload');
&nbsp;
var _crudUpload2 = _interopRequireDefault(_crudUpload);
&nbsp;
var _crudSilder = require('../crud/src/crud-silder');
&nbsp;
var _crudSilder2 = _interopRequireDefault(_crudSilder);
&nbsp;
function _interopRequireDefault(obj) { r</span>eturn obj &amp;&amp; obj.__esModule ? obj : <span class="branch-1 cbranch-no" title="branch not covered" >{ default: obj }; }
&nbsp;
function _interopRequireWildcard(obj) { <span class="missing-if-branch" title="else path not taken" >E</span>if (obj &amp;&amp; obj.__esModule) { return obj; } else { <span class="cstat-no" title="statement not covered" >var newObj = {}; <span class="cstat-no" title="statement not covered" >i</span>f (obj != null) { <span class="cstat-no" title="statement not covered" >for (var key in obj) { <span class="cstat-no" title="statement not covered" >if (Object.prototype.hasOwnProperty.call(obj, key)) <span class="cstat-no" title="statement not covered" >n</span></span>ewObj[key] = obj[key]; } </span>} <span class="cstat-no" title="statement not covered" >n</span>ewObj.default = obj; <span class="cstat-no" title="statement not covered" >r</span></span>eturn newObj; } }
&nbsp;</pre></td></tr>
</table></pre>
<div class='push'></div><!-- for sticky footer -->
</div><!-- /wrapper -->
<div class='footer quiet pad2 space-top1 center small'>
  Code coverage
  generated by <a href="http://istanbul-js.org/" target="_blank">istanbul</a> at Wed Aug 01 2018 15:33:43 GMT+0800 (CST)
</div>
</div>
<script src="../prettify.js"></script>
<script>
window.onload = function () {
        if (typeof prettyPrint === 'function') {
            prettyPrint();
        }
};
</script>
<script src="../sorter.js"></script>
</body>
</html>
